package ucm;

import model.Flight;

/**
 * UCShowFlight
 *
 * Goal: Show Flights
 * Primary Actor: User
 * Precondition: Connected to database.
 * Postcondtion: Flights are Display
 * 
 * @author Tobias Robinson
 */
public class UCShowFlight {

    public UCShowFlight() {
        run();
    }

    /**
     * 1. Actor selects Show Flights
     * 2. System displays all flights from database.
     */
    public void run() {
        Flight.showFlights();
    }
}
